#ifndef CONTROLEURECRITURE_H
#define CONTROLEURECRITURE_H

    #include "Ecran.h"
    #include <vector>
    #include "Point.h"


class ControleurEcriture
{
    private:
        Ecran * ecran;
        Point origine;
        Point ptAnt;

        vector<Point> tabP;

        Courbe courbe;
        Courbe cinit;
        int degre;

    public:
        ControleurEcriture(Ecran * e);

        void boucle();
        void cleanEcran();
        void sauvegarde();

    };

#endif // CONTROLEURECRITURE_H
